package com.xinye.demo.ui

import android.content.Intent
import android.os.Bundle
import android.view.View
import com.droid.library.app.BaseActivity
import com.xinye.demo.R
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : BaseActivity(){

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        btnRxJava.setOnClickListener{
            val intent = Intent(this@MainActivity,RxJavaTestActivity::class.java)
            startActivity(intent)
        }
    }



    override fun onClick(v: View?) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun getPageName(): String {
        return "MainActivity"
    }


}